package org.djw.org.mapper;

import org.djw.basic.mapper.BaseMapper;
import org.djw.org.domain.Department;
import org.djw.org.query.DepartmentQuery;

import java.util.List;

/**
 * 部门模块mapper层
 */
public interface DepartmentMapper extends BaseMapper<Department>{
    /**
     * 查询上级部门树
     * @return
     */
    List<Department> findTree();
}
